package ${servicePackageName}.entity.sys;

import ${commonPackageName}.entity.base.CommonEntity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 菜单资源表
 * </p>
 *
 * @author lizihao
 * @since 2020-11-18
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value="SysResource对象", description="菜单资源表")
public class SysResource extends CommonEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资源名称")
    private String resourceName;

    @ApiModelProperty(value = "唯一标识码")
    private String resourceCode;

    @ApiModelProperty(value = "父资源id")
    private Long parentId;

    @ApiModelProperty(value = "0-菜单,2-接口,3-按钮")
    private Integer resourceType;

    @ApiModelProperty(value = "路由")
    private String resourcePath;

    @ApiModelProperty(value = "排序")
    private Integer sortNum;


}
